package com.atguigu.springcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author : leimingchao
 * @date Date : 2021年11月01日 22:21
 */
@SpringBootApplication
@MapperScan(value = "com.atguigu.springcloud.dao")
//本服务启动后自动注册进eureka服务中
@EnableEurekaClient
//服务发现
@EnableDiscoveryClient
public class DeptProvider8002_App {

    public static void main(String[] args) {
        SpringApplication.run(DeptProvider8002_App.class, args);
    }
}
